package cn.ycc1.order;

import cn.ycc1.feign.clients.AccountClient;
import cn.ycc1.feign.clients.StorageClient;
import cn.ycc1.feign.clients.UserClient;
import cn.ycc1.feign.config.DefaultFeignConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan("cn.ycc1.order.mapper")
@EnableFeignClients(clients={AccountClient.class, StorageClient.class, UserClient.class}, defaultConfiguration = DefaultFeignConfiguration.class)
public class OrderServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderServiceApplication.class, args);
    }

}
